﻿using System;

using System.Collections.Generic;
using System.Text;
using System.Data;

namespace SQLProxy
{
    class VersionVector
    {
        private int resi_id;
        private int server1;
        private int server2;

        public int Resi_id
        {
            get { return resi_id; }
            set { resi_id = value; }
        }

        public int Server1
        {
            get { return server1; }
            set { server1 = value; }
        }

        public int Server2
        {
            get { return server2; }
            set { server2 = value; }
        }

        public static DataSet readSet = new DataSet();
        public static DataSet writeSet = new DataSet();

        public VersionVector(DataTableReader dtReader)
        {
            resi_id = dtReader.GetInt32(0);
            server1 = dtReader.GetInt32(1);
            server2 = dtReader.GetInt32(2);
        }
    }
}